package com.example.travel.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.travel.domain.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author : LinQingLiang
 * @file : RolesMapper.java
 * @Since : 2023/1/30 21:24
 */

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    Page page(@Param("page") Page<Menu> page, @Param(Constants.WRAPPER) Wrapper<Menu> qw);
}
